package com.ruoyi.ruoyiqywechat.service;

import com.alibaba.fastjson.JSONObject;
import com.ruoyi.common.qy.vo.VideoInfoVo;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.List;

public interface VideoService {
     void saveRedisVideo(JSONObject jsonObject);

    HashMap<String,Object> listVideoInfoVo(HttpServletRequest request, int page, int size);

    HashMap<String, Object> queryVideoText(HttpServletRequest request,String videoId);

    void bindVideoId(HttpServletRequest request, String videoId);

    HashMap<String, Object> queryVideoInfo(HttpServletRequest request, String videoId);

    String queryRestVideoText(HttpServletRequest request, String videoId);

    List<String> queryRestVideoTextNew(HttpServletRequest request, String videoId);

    Boolean queryWatchVideoNum(HttpServletRequest request, String videoId,String type);

    void addWatchVideoNum(HttpServletRequest request, String videoId, String type);
}
